package com.hangsu.train.components.convert;

import com.hangsu.train.components.entity.Device;
import com.hangsu.train.components.params.DeviceParam;
import com.hangsu.train.components.params.DeviceUpdateParam;
import org.mapstruct.Mapper;

@Mapper(componentModel = "spring")
public interface DeviceConvert {

    Device convert(DeviceParam deviceParam);

    Device convert(DeviceUpdateParam updateParam);
}
